import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)

const routes = [
  { path: '/', component: () => import('@/pages/home.vue') },
  { path: '/ele', component: () => import('@/pages/elementUI.vue') }
]
export default new VueRouter({
  routes
})
